package com.smartleanx.module.hrm.controller.admin.employee.vo;

import com.smartleanx.framework.common.validation.InEnum;
import com.smartleanx.module.hrm.eums.employee.BizFileTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 员工信息操作记录查看 Request VO")
@Data
public class EmployeeAddFileReqVO {

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "员工id不能为空")
    private Long employeeId;

    @Schema(description = "文件类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件类型不能为空")
    @InEnum(value = BizFileTypeEnum.class, message = "文件类型格式不正确")
    private Integer fileType;

    @Schema(description = "文件id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件id不能为空")
    private Long fileId;

}
